﻿package plugin.social
{
    import com.core.*;
    import flash.utils.*;

    public class SocialUtil extends Object
    {

        public function SocialUtil()
        {
            return;
        }// end function

        public static function checkVip(param1:int, param2:Number) : int
        {
            var _loc_3:* = ModelProxy.getValue("data", "servertime") + Number(getTimer());
            if (param1 == 0)
            {
                return -1;
            }
            if (param2 < _loc_3)
            {
                return -1;
            }
            return 0;
        }// end function

        public static function checkVipLevel(param1:int, param2:Number, param3:int) : int
        {
            var _loc_4:* = ModelProxy.getValue("data", "servertime") + Number(getTimer());
            if (param1 == 0)
            {
                return 0;
            }
            if (param2 < _loc_4)
            {
                return 0;
            }
            return param3;
        }// end function

    }
}
